﻿Imports CapaLogica.CL.UtilidadesGenerales
Imports CapaLogica.CL.Usuario

Public Class Inicio
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        If Session("id") = Nothing Then
            Response.Redirect("Login.aspx")
        End If

    End Sub

    Public Function getListaUsuarios()
        Dim listaUsuarios As List(Of Dictionary(Of String, Object))
        listaUsuarios = GestorUsuario.listarUsuariosConBlog()
        Return listaUsuarios
    End Function


End Class